
from copyheaders import headers_raw_to_dict

# 设置目标网站
domain = {

    "target_url":"https://ac.qq.com/ComicView/index/id/541812/cid/14?fromPrev=1"

}
# 设置请求头
header = {
    "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3",
    "Accept-Encoding": "gzip, deflate, br",
    "Accept-Language": "zh-CN,zh;q=0.9",
    "Cookie": "pgv_pvi=2899869696; pgv_pvid=5273601228; pac_uid=0_5d7a0fbddc83e; nav_userinfo_cookie=; ts_refer=www.baidu.com/link; ts_uid=3721001597; theme=dark; roastState=2; readLastRecord=%5B%5D; tvfe_boss_uuid=e21cb49235f1dca2; pgv_info=ssid=s7316987320; readRecord=%5B%5B541812%2C%22%E8%A5%BF%E8%A1%8C%E7%BA%AA%22%2C7%2C%22%E7%AC%AC1%E8%AF%9D%20%E9%BE%99%E4%B8%8E%E7%8B%BC%22%2C1%5D%5D; ts_last=ac.qq.com/ComicView/index/id/541812/cid/7",
    "Host": "ac.qq.com",
    "User-Agent": "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36"
}